home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
LEGS
/
LEGS.iso
/
Help me
/
Help me.rsrc
/
bin.rsrc_CODE_27_Translate.txt
< prev
next >
Wrap
Text File
|
1994-02-05
|
20KB
|
336 lines
# near model CODE resource
# jump table entries: 2640-2641 (2 of them)
fn00000000:
00000000 4E56 0000 link A6, 0
00000004 7000 moveq.l D0, 0x00
00000006 2B40 EAD0 move.l [A5 - 0x1530], D0
0000000A 4AAD EABE tst.l [A5 - 0x1542]
0000000E 6708 beq +0xA /* 00000018 */
00000010 2F2D EABE move.l -[A7], [A5 - 0x1542]
00000014 4EAD 13CA jsr [A5 + 0x13CA /* export_629 */]
label00000018:
00000018 7000 moveq.l D0, 0x00
0000001A 2B40 EABE move.l [A5 - 0x1542], D0
0000001E 41ED CE82 lea.l A0, [A5 - 0x317E]
00000022 43FA 001A lea.l A1, [PC + 0x1A /* 0000003E, value 0x7456E67, pstring "English" */]
00000026 7003 moveq.l D0, 0x03
label00000028:
00000028 30D9 move.w [A0]+, [A1]+
0000002A 51C8 FFFC dbf D0, -0x6 /* 00000028 */
0000002E 486D CCDE pea.l [A5 - 0x3322]
00000032 7056 moveq.l D0, 0x56
00000034 2F00 move.l -[A7], D0
00000036 4EAD 29CA jsr [A5 + 0x29CA /* export_1333 */]
0000003A 4E5E unlink A6
0000003C 4E75 rts
0000003E 0745 bchg D5, D3
00000040 6E67 bgt +0x69 /* 000000A9 */
00000042 6C69 bge +0x6B /* 000000AD */
00000044 7368 moveq.l D1, 0x68
fn00000046:
00000046 4E56 FF00 link A6, -0x0100
0000004A 206E 000C movea.l A0, [A6 + 0xC]
0000004E 43EE FF00 lea.l A1, [A6 - 0x100]
00000052 707F moveq.l D0, 0x7F
label00000054:
00000054 32D8 move.w [A1]+, [A0]+
00000056 51C8 FFFC dbf D0, -0x6 /* 00000054 */
0000005A 4EBA FFA4 jsr [PC - 0x5C /* 00000000 */]
0000005E 486E FF00 pea.l [A6 - 0x100]
00000062 4EAD 1192 jsr [A5 + 0x1192 /* export_558 */]
00000066 206E 0008 movea.l A0, [A6 + 0x8]
0000006A 2C48 movea.l A6, A0
0000006C 4EFA 0156 jmp [PC + 0x156 /* 000001C4 */]
00000070 0000 4E5E ori.b D0, 0x5E /* '^' */
00000074 205F movea.l A0, [A7]+
00000076 504F addq.w A7, 8
00000078 4ED0 jmp [A0]
export_330:
0000007A 4E56 FEFA link A6, -0x0106
0000007E 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
00000082 4267 clr.w -[A7]
00000084 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000088 486D CE82 pea.l [A5 - 0x317E]
0000008C 4EAD 292A jsr [A5 + 0x292A /* export_1313 */]
00000090 101F move.b D0, [A7]+
00000092 6704 beq +0x6 /* 00000098 */
00000094 6000 012E bra +0x130 /* 000001C4 */
label00000098:
00000098 4AAD EAD0 tst.l [A5 - 0x1530]
0000009C 672C beq +0x2E /* 000000CA */
0000009E 3B7C 0001 CCDE move.w [A5 - 0x3322], 0x1
000000A4 4EAD 1612 jsr [A5 + 0x1612 /* export_702 */]
000000A8 2F2D EAD0 move.l -[A7], [A5 - 0x1530]
000000AC A9A3 syscall ReleaseResource
000000AE 4EBA FF50 jsr [PC - 0xB0 /* 00000000 */]
000000B2 4A6D CCE0 tst.w [A5 - 0x3320]
000000B6 6712 beq +0x14 /* 000000CA */
000000B8 486E FEFA pea.l [A6 - 0x106]
000000BC 3F3C 003E move.w -[A7], 0x3E /* '>' */
000000C0 4EAD 11E2 jsr [A5 + 0x11E2 /* export_568 */]
000000C4 2F0E move.l -[A7], A6
000000C6 4EBA FF7E jsr [PC - 0x82 /* 00000046 */]
label000000CA:
000000CA 4267 clr.w -[A7]
000000CC 2F2E 0008 move.l -[A7], [A6 + 0x8]
000000D0 487A 0100 pea.l [PC + 0x100 /* 000001D2, value 0x7456E67, pstring "English" */]
000000D4 4EAD 292A jsr [A5 + 0x292A /* export_1313 */]
000000D8 101F move.b D0, [A7]+
000000DA 6704 beq +0x6 /* 000000E0 */
000000DC 6000 00E6 bra +0xE8 /* 000001C4 */
label000000E0:
000000E0 42A7 clr.l -[A7]
000000E2 2F3C 5754 524E move.l -[A7], 0x5754524E /* 'WTRN' */
000000E8 2F2E 0008 move.l -[A7], [A6 + 0x8]
000000EC A9A1 syscall GetNamedResource
000000EE 2B5F EAD0 move.l [A5 - 0x1530], [A7]+
000000F2 57C0 seq D0
000000F4 2F00 move.l -[A7], D0
000000F6 4267 clr.w -[A7]
000000F8 A9AF syscall ResError
000000FA 321F move.w D1, [A7]+
000000FC 201F move.l D0, [A7]+
000000FE 4A41 tst.w D1
00000100 56C1 sne D1
00000102 8001 or.b D0, D1
00000104 6712 beq +0x14 /* 00000118 */
00000106 486E FEFA pea.l [A6 - 0x106]
0000010A 3F3C 003D move.w -[A7], 0x3D /* '=' */
0000010E 4EAD 11E2 jsr [A5 + 0x11E2 /* export_568 */]
00000112 2F0E move.l -[A7], A6
00000114 4EBA FF30 jsr [PC - 0xD0 /* 00000046 */]
label00000118:
00000118 2F2D EAD0 move.l -[A7], [A5 - 0x1530]
0000011C A9A2 syscall LoadResource
0000011E 4267 clr.w -[A7]
00000120 A9AF syscall ResError
00000122 4A5F tst.w [A7]+
00000124 6712 beq +0x14 /* 00000138 */
00000126 486E FEFA pea.l [A6 - 0x106]
0000012A 3F3C 003C move.w -[A7], 0x3C /* '<' */
0000012E 4EAD 11E2 jsr [A5 + 0x11E2 /* export_568 */]
00000132 2F0E move.l -[A7], A6
00000134 4EBA FF10 jsr [PC - 0xF0 /* 00000046 */]
label00000138:
00000138 4267 clr.w -[A7]
0000013A 2F2D EAD0 move.l -[A7], [A5 - 0x1530]
0000013E A9A4 syscall HomeResFile
00000140 3D5F FFFA move.w [A6 - 0x6], [A7]+
00000144 302E FFFA move.w D0, [A6 - 0x6]
00000148 B06D 9FE0 cmp.w D0, [A5 - 0x6020]
0000014C 6608 bne +0xA /* 00000156 */
0000014E 7000 moveq.l D0, 0x00
00000150 2B40 EABE move.l [A5 - 0x1542], D0
00000154 6036 bra +0x38 /* 0000018C */
label00000156:
00000156 42A7 clr.l -[A7]
00000158 3F2E FFFA move.w -[A7], [A6 - 0x6]
0000015C 4EAD 1402 jsr [A5 + 0x1402 /* export_636 */]
00000160 2D5F FFFC move.l [A6 - 0x4], [A7]+
00000164 6618 bne +0x1A /* 0000017E */
00000166 2F2D EAD0 move.l -[A7], [A5 - 0x1530]
0000016A A9A3 syscall ReleaseResource
0000016C 486E FEFA pea.l [A6 - 0x106]
00000170 3F3C 003C move.w -[A7], 0x3C /* '<' */
00000174 4EAD 11E2 jsr [A5 + 0x11E2 /* export_568 */]
00000178 2F0E move.l -[A7], A6
0000017A 4EBA FECA jsr [PC - 0x136 /* 00000046 */]
label0000017E:
0000017E 2B6E FFFC EABE move.l [A5 - 0x1542], [A6 - 0x4]
00000184 2F2D EABE move.l -[A7], [A5 - 0x1542]
00000188 4EAD 13C2 jsr [A5 + 0x13C2 /* export_628 */]
label0000018C:
0000018C 2F2D EAD0 move.l -[A7], [A5 - 0x1530]
00000190 205F movea.l A0, [A7]+
00000192 A04A syscall HNoPurge
00000194 206E 0008 movea.l A0, [A6 + 0x8]
00000198 43ED CE82 lea.l A1, [A5 - 0x317E]
0000019C 707F moveq.l D0, 0x7F
label0000019E:
0000019E 32D8 move.w [A1]+, [A0]+
000001A0 51C8 FFFC dbf D0, -0x6 /* 0000019E */
000001A4 426D CCDE clr.w [A5 - 0x3322]
000001A8 4EAD 1612 jsr [A5 + 0x1612 /* export_702 */]
000001AC 4A6D CCE0 tst.w [A5 - 0x3320]
000001B0 6712 beq +0x14 /* 000001C4 */
000001B2 486E FEFA pea.l [A6 - 0x106]
000001B6 3F3C 003B move.w -[A7], 0x3B /* ';' */
000001BA 4EAD 11E2 jsr [A5 + 0x11E2 /* export_568 */]
000001BE 2F0E move.l -[A7], A6
000001C0 4EBA FE84 jsr [PC - 0x17C /* 00000046 */]
label000001C4:
000001C4 4FEE FEDA lea.l A7, [A6 - 0x126]
000001C8 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
000001CC 4E5E unlink A6
000001CE 2E9F move.l [A7], [A7]+
000001D0 4E75 rts
000001D2 0745 bchg D5, D3
000001D4 6E67 bgt +0x69 /* 0000023D */
000001D6 6C69 bge +0x6B /* 00000241 */
000001D8 7368 moveq.l D1, 0x68
export_331:
000001DA 4E56 FEE4 link A6, -0x011C
000001DE 486E FF00 pea.l [A6 - 0x100]
000001E2 4EAD 1AF2 jsr [A5 + 0x1AF2 /* export_858 */]
000001E6 4267 clr.w -[A7]
000001E8 486E FF00 pea.l [A6 - 0x100]
000001EC 487A 01A6 pea.l [PC + 0x1A6 /* 00000394, value 0x868696E, pstring "hintBits" */]
000001F0 4EAD 292A jsr [A5 + 0x292A /* export_1313 */]
000001F4 101F move.b D0, [A7]+
000001F6 6706 beq +0x8 /* 000001FE */
000001F8 1B7C 0001 B386 move.b [A5 - 0x4C7A], 0x1
label000001FE:
000001FE 4267 clr.w -[A7]
00000200 486E FF00 pea.l [A6 - 0x100]
00000204 487A 0186 pea.l [PC + 0x186 /* 0000038C, value 0x66D6178, pstring "maxmem" */]
00000208 4EAD 292A jsr [A5 + 0x292A /* export_1313 */]
0000020C 101F move.b D0, [A7]+
0000020E 670E beq +0x10 /* 0000021E */
00000210 42A7 clr.l -[A7]
00000212 486E FEFC pea.l [A6 - 0x104]
00000216 4EAD 010A jsr [A5 + 0x10A /* export_29 */]
0000021A 2D5F FEF8 move.l [A6 - 0x108], [A7]+
label0000021E:
0000021E 4267 clr.w -[A7]
00000220 486E FF00 pea.l [A6 - 0x100]
00000224 487A 0152 pea.l [PC + 0x152 /* 00000378, value 0x12707572, pstring "pureQuickDraw true" */]
00000228 4EAD 292A jsr [A5 + 0x292A /* export_1313 */]
0000022C 101F move.b D0, [A7]+
0000022E 670A beq +0xC /* 0000023A */
00000230 1B7C 0001 B46C move.b [A5 - 0x4B94], 0x1
00000236 4EAD 2D92 jsr [A5 + 0x2D92 /* export_1454 */]
label0000023A:
0000023A 4267 clr.w -[A7]
0000023C 486E FF00 pea.l [A6 - 0x100]
00000240 487A 0122 pea.l [PC + 0x122 /* 00000364, value 0x13707572, pstring "pureQuickDraw false" */]
00000244 4EAD 292A jsr [A5 + 0x292A /* export_1313 */]
00000248 101F move.b D0, [A7]+
0000024A 6708 beq +0xA /* 00000254 */
0000024C 422D B46C clr.b [A5 - 0x4B94]
00000250 4EAD 2D92 jsr [A5 + 0x2D92 /* export_1454 */]
label00000254:
00000254 4267 clr.w -[A7]
00000256 486E FF00 pea.l [A6 - 0x100]
0000025A 487A 00FC pea.l [PC + 0xFC /* 00000358, value 0xA636865 '\nche', pstring "checkPoint" */]
0000025E 4EAD 292A jsr [A5 + 0x292A /* export_1313 */]
00000262 101F move.b D0, [A7]+
00000264 6706 beq +0x8 /* 0000026C */
00000266 1B7C 0001 EAF6 move.b [A5 - 0x150A], 0x1
label0000026C:
0000026C 4267 clr.w -[A7]
0000026E 486E FF00 pea.l [A6 - 0x100]
00000272 487A 00DA pea.l [PC + 0xDA /* 0000034E, value 0x8736F75, pstring "sound on" */]
00000276 4EAD 292A jsr [A5 + 0x292A /* export_1313 */]
0000027A 101F move.b D0, [A7]+
0000027C 670A beq +0xC /* 00000288 */
0000027E C02D E994 and.b D0, [A5 - 0x166C]
00000282 6704 beq +0x6 /* 00000288 */
00000284 422D E994 clr.b [A5 - 0x166C]
label00000288:
00000288 4267 clr.w -[A7]
0000028A 486E FF00 pea.l [A6 - 0x100]
0000028E 487A 00B4 pea.l [PC + 0xB4 /* 00000344, value 0x9736F75 '\tsou', pstring "sound off" */]
00000292 4EAD 292A jsr [A5 + 0x292A /* export_1313 */]
00000296 101F move.b D0, [A7]+
00000298 6710 beq +0x12 /* 000002AA */
0000029A 102D E994 move.b D0, [A5 - 0x166C]
0000029E 660A bne +0xC /* 000002AA */
000002A0 4EAD 160A jsr [A5 + 0x160A /* export_701 */]
000002A4 1B7C 0001 E994 move.b [A5 - 0x166C], 0x1
label000002AA:
000002AA 4267 clr.w -[A7]
000002AC 486E FF00 pea.l [A6 - 0x100]
000002B0 487A 0086 pea.l [PC + 0x86 /* 00000338, value 0xA6D6178 '\nmax', pstring "maxWindows" */]
000002B4 4EAD 292A jsr [A5 + 0x292A /* export_1313 */]
000002B8 101F move.b D0, [A7]+
000002BA 6718 beq +0x1A /* 000002D4 */
000002BC 486E FEE4 pea.l [A6 - 0x11C]
000002C0 302D C1C6 move.w D0, [A5 - 0x3E3A]
000002C4 48C0 ext.l D0
000002C6 2F00 move.l -[A7], D0
000002C8 4EAD 229A jsr [A5 + 0x229A /* export_1103 */]
000002CC 4EAD 1B32 jsr [A5 + 0x1B32 /* export_866 */]
000002D0 4EAD 1D0A jsr [A5 + 0x1D0A /* export_925 */]
label000002D4:
000002D4 4267 clr.w -[A7]
000002D6 486E FF00 pea.l [A6 - 0x100]
000002DA 487A 0044 pea.l [PC + 0x44 /* 00000320, value 0x16736176, pstring "save script properties" */]
000002DE 4EAD 292A jsr [A5 + 0x292A /* export_1313 */]
000002E2 101F move.b D0, [A7]+
000002E4 6706 beq +0x8 /* 000002EC */
000002E6 1B7C 0001 CCA4 move.b [A5 - 0x335C], 0x1
label000002EC:
000002EC 4267 clr.w -[A7]
000002EE 486E FF00 pea.l [A6 - 0x100]
000002F2 487A 0012 pea.l [PC + 0x12 /* 00000306, value 0x18666F72, pstring "forget script properties" */]
000002F6 4EAD 292A jsr [A5 + 0x292A /* export_1313 */]
000002FA 101F move.b D0, [A7]+
000002FC 6704 beq +0x6 /* 00000302 */
000002FE 422D CCA4 clr.b [A5 - 0x335C]
label00000302:
00000302 4E5E unlink A6
00000304 4E75 rts
00000306 1866 movea.b A4, -[A6]
00000308 6F72 ble +0x74 /* 0000037C */
0000030A 6765 beq +0x67 /* 00000371 */
0000030C 7420 moveq.l D2, 0x20
0000030E 7363 moveq.l D1, 0x63
00000310 7269 moveq.l D1, 0x69
00000312 7074 moveq.l D0, 0x74
00000314 2070 726F movea.l A0, [A0 + D7.w * 2 + 0x6F]
00000318 7065 moveq.l D0, 0x65
0000031A 7274 moveq.l D1, 0x74
0000031C 6965 bvs +0x67 /* 00000383 */
0000031E 7300 moveq.l D1, 0x00
00000320 1673 6176 movea.b A3, <<invalid full ext with IS == 1 and I/IS == 6>>
00000324 6520 bcs +0x22 /* 00000346 */
00000326 7363 moveq.l D1, 0x63
00000328 7269 moveq.l D1, 0x69
0000032A 7074 moveq.l D0, 0x74
0000032C 2070 726F movea.l A0, [A0 + D7.w * 2 + 0x6F]
00000330 7065 moveq.l D0, 0x65
00000332 7274 moveq.l D1, 0x74
00000334 6965 bvs +0x67 /* 0000039B */
00000336 7300 moveq.l D1, 0x00
00000338 0A6D 6178 5769 xori.w [A5 + 0x5769], 0x6178 /* 'ax' */
0000033E 6E64 bgt +0x66 /* 000003A4 */
00000340 6F77 ble +0x79 /* 000003B9 */
00000342 7300 moveq.l D1, 0x00
00000344 0973 6F75 bchg <<invalid full ext with IS == 1 and I/IS == 5>>, D4
// begin alternate branch 00000346-00000348
label00000346:
00000346 6F75 ble +0x77 /* 000003BD */
// end alternate branch 00000346-00000348
label00000346: // (misaligned)
00000348 6E64 bgt +0x66 /* 000003AE */
0000034A 206F 6666 movea.l A0, [A7 + 0x6666]
0000034E 0873 6F75 6E64 bchg.b [A3 + D6 * 8 + 0x64], 0x75 /* 'u' */
00000354 206F 6E00 movea.l A0, [A7 + 0x6E00]
00000358 0A63 6865 xori.w -[A3], 0x6865 /* 'he' */
0000035C 636B bls +0x6D /* 000003C9 */
0000035E 506F 696E addq.w [A7 + 0x696E], 8
00000362 7400 moveq.l D2, 0x00
00000364 1370 7572 6551 7569 636B 4472 move.b [A1 + 0x4472], [[A0 + 0x65517569] + 0x636B]
00000370 6177 bsr +0x79 /* 000003E9 */
00000372 2066 movea.l A0, -[A6]
00000374 616C bsr +0x6E /* 000003E2 */
00000376 7365 moveq.l D1, 0x65
00000378 1270 7572 6551 7569 636B movea.b A1, [[A0 + 0x65517569] + 0x636B]
// begin alternate branch 0000037C-00000382
label0000037C:
0000037C 6551 bcs +0x53 /* 000003CF */
0000037E 7569 moveq.l D2, 0x69
00000380 636B bls +0x6D /* 000003ED */
// end alternate branch 0000037C-00000382
label0000037C: // (misaligned)
00000382 4472 6177 neg.w <<invalid full ext with IS == 1 and I/IS == 7>>
00000386 2074 7275 movea.l A0, [A4 + D7.w * 2 + 0x75]
0000038A 6500 066D bcs +0x66F /* 000009F9 */
0000038E 6178 bsr +0x7A /* 00000408 */
00000390 6D65 blt +0x67 /* 000003F7 */
00000392 6D00 0868 blt +0x86A /* 00000BFC */
00000396 696E bvs +0x70 /* 00000406 */
00000398 7442 moveq.l D2, 0x42
0000039A 6974 bvs +0x76 /* 00000410 */
0000039C 7300 moveq.l D1, 0x00